package cn.com.surker.base.system.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓位与生产线对应表
 * </p>
 *
 * @author admin
 * @since 2024-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysStorageLine extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公司ID
     */
    private Long orgId;

    /**
     * 生产线
     */
    private Long lineId;

    /**
     * 仓位ID
     */
    private Long storageId;
    public SysStorageLine(){}
    public SysStorageLine(Long orgId, Long lineId, Long storageId) {
        this.orgId = orgId;
        this.lineId = lineId;
        this.storageId = storageId;
    }
}
